From: robertl Date: Fri, 21 May 2010 15:26:38 +0000 (+0000) Subject: Use strtod, not strtof. X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~17^2~30 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=52c28a6a7af740d2d668db031b3f5ca17d4d32e0;p=gpsbabel.git Use strtod, not strtof. --- diff --git a/csv_util.c b/csv_util.c index 2dc6d1e26..ba2b6a720 100644 --- a/csv_util.c +++ b/csv_util.c @@ -1070,9 +1070,9 @@ xcsv_parse_val(const char *s, waypoint *wpt, const field_map_t *fmp, utm_zone = strtod(s, &ss); utm_zonec = ss[i]; ss++; - utm_easting = strtof(ss, &ss); + utm_easting = strtod(ss, &ss); while(*ss && !isdigit(*ss)) ss++; - utm_northing = strtof(ss, NULL); + utm_northing = strtod(ss, NULL); } break; /* ALTITUDE CONVERSIONS ************************************************/